package cn.micro.system.manage.entity;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
/**
 * <p>
 * 订单信息表
 * </p>
 *
 * @author wr
 * @since 2024-01-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class OrderOdsInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 订单ID
     */
    private String id;

    /**
     * 订单名称
     */
    private String name;

    /**
     * 订单描述
     */
    private String orderDesc;

    /**
     * 订单类型
     */
    private Long typeId;

    /**
     * 下单用户ID
     */
    private Long userId;

    /**
     * 预计完成日期
     */
    private LocalDate estimatedFinishedTime;

    /**
     * 完成日期
     */
    private LocalDate finishedTime;

    /**
     * 订单状态0：新建，1：进行中，2：已交付，待评论，3：已完成
     */
    private Integer status;

    /**
     * 下单时间
     */
    private LocalDateTime createTime;

    /**
     * 金额
     */
    private BigDecimal totalPrice;

    /**
     * 支付状态 0：待支付，1：首付已支付，2：中期费用已付，3：已付清
     */
    private Integer payStatus;

    /**
     * 备注
     */
    private String remake;

    /**
     * 逻辑删除（0：未删除，1：已删除）
     */
    private Integer isDeleted;

    public static final String ID = "id";

    public static final String NAME = "name";

    public static final String ORDER_DESC = "order_desc";

    public static final String TYPE_ID = "type_id";

    public static final String USER_ID = "user_id";

    public static final String ESTIMATED_FINISHED_TIME = "estimated_finished_time";

    public static final String FINISHED_TIME = "finished_time";

    public static final String STATUS = "status";

    public static final String CREATE_TIME = "create_time";

    public static final String TOTAL_PRICE = "total_price";

    public static final String PAY_STATUS = "pay_status";

    public static final String REMAKE = "remake";

    public static final String IS_DELETED = "is_deleted";

}
